#ifndef TRIANGLE_H_INCLUDED
#define TRIANGLE_H_INCLUDED
#include "vertex.h"

struct triangle
{

    vertex points[3];

    int pcount; ///scattered throughout this entire renderer are occasional references to, in the future, supporting non triangle shapes. Currently, this doesn't work at all.


    triangle();

    void setpoints(vertex ppoints[3]);

    void add_point(vertex &point);

    void set_point(int num, vertex &point);

    double a_depth(); ///average out the depth. I dont think i use this anymore

};

#endif // TRIANGLE_H_INCLUDED
